//
//  RMMPayManager.m
//  Romomo
//
//  Created by puman on 2017/2/15.
//  Copyright © 2017年 mazegong. All rights reserved.
//

#import "RMMPayManager.h"

@implementation RMMPayManager

+ (NSString *)backSingWithDic:(NSDictionary *)dic{
    NSMutableArray *arr = [NSMutableArray array];
    [dic enumerateKeysAndObjectsUsingBlock:^(id  _Nonnull key, id  _Nonnull obj, BOOL * _Nonnull stop) {
        NSString *string = [NSString stringWithFormat:@"%@=%@",(NSString *)key,(NSString *)obj];
        [arr addObject:string];
    }];
    NSString *str = [arr componentsJoinedByString:@"&"];
    return str;
}

@end
